package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmDictCode;
import cn.flying.system.domain.cm.CmDictCodeExample;

public interface CmDictCodeMapper {
    long countByExample(CmDictCodeExample example);

    int deleteByExample(CmDictCodeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmDictCode row);

    int insertSelective(CmDictCode row);

    List<CmDictCode> selectByExampleWithRowbounds(CmDictCodeExample example, RowBounds rowBounds);

    List<CmDictCode> selectByExample(CmDictCodeExample example);

    CmDictCode selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmDictCode row, @Param("example") CmDictCodeExample example);

    int updateByExample(@Param("row") CmDictCode row, @Param("example") CmDictCodeExample example);

    int updateByPrimaryKeySelective(CmDictCode row);

    int updateByPrimaryKey(CmDictCode row);
}